package org.example.demo1.dto;

import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class CommandParseResult {
    private boolean success;
    private String command;
    private String description;
    private CommandRiskLevel riskLevel;
    private String originalInput;
    private String message;

    public static CommandParseResult error(String message) {
        return CommandParseResult.builder()
                .success(false)
                .message(message)
                .build();
    }
}
